home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # mount-all-images
- # copyleft (c) 2000, joseph cheek, joseph@lycoris.com. released under
- # GPL.
- #
- # mount-all-images:
- # mount all of the (cd, floppy, ramdisk) images from a build in the
- # current build directory.
- #
- # ex: mount-all-images -l en
- #
-
- LANG=
- MNT="/opt/redmondlinux/builds/mnt"
-
- if [ "n$1" = "n-l" ]; then # -l
- LANG="$2"
- shift
- shift
- fi
-
- if [ -z "$LANG" ]; then
- echo -e `basename $0` \[-l lang\]: need lang \\a
- exit 1
- fi
-
- # BUILD_BASE=/opt/redmondlinux/builds/current/$LANG
- BUILD_BASE=/opt/redmondlinux/builds/current/en
-
- # redo builds
-
- for a in cd scsi pcmcia cd_ramdisk; do
- echo $a
- cd $MNT/$a
- "$BUILD_BASE"/rl/build-bin/boot-images/buildit-$a.sh -l $LANG
- done
-
- # show results
-
- cd $MNT
- df -k
- dir -l {cd,install}/initrd.gz
-